package shayu.search.exception;

/**
 *  错误码列表
 *  10：通用
 *    001：参数格式校验
 *  11:商品
 *  12：订单
 *  13：购物车
 *  14：物流
 */
public enum BizCodeEume {
    UNKNOE_EXCEPTION(10000,"系统未知异常"),
    VAILE_EXCEPTION(10001,"参数格式校验异常"),
    PRODUCT_UP_EXCEPTION(12000,"商品上架异常");
    private int Code;
    private String msg;

    BizCodeEume(int code, String msg) {
        Code = code;
        this.msg = msg;
    }

    public int getCode() {
        return Code;
    }

    public void setCode(int code) {
        Code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
